package calao.storage;

/** Provides direct access to record fields.
 */
public class DirectAccess 
{
	
	public static void set(Record record, Field field, Object value)
	{
		record.directSet(field, value);
	}

	public static void set(Record record, Field field, Object[] values)
	{
		record.directSet(field, values);
	}

	public static Object get(Record record, Field field)
	{
		return record.directGet(field);
	}

	public static Object[] getAll(Record record, Field field)
	{
		return record.directGetAll(field);
	}

}
